/**
 *  liuwenfeng - session过期跳转
 */
$(document).ajaxComplete(function (evt, request, settings) {
    	var status = request.getResponseHeader("sessionstatus");
        //判断返回的数据内容，如果是超时，则跳转到登陆页面
        if (status == "unauthorized") {
        	var redirect = request.getResponseHeader("location");
        	top.location.href = redirect;
        }
});